/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package editor;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Root Relationship</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link editor.RootRelationship#getSourceRoot <em>Source Root</em>}</li>
 *   <li>{@link editor.RootRelationship#getTargetRoot <em>Target Root</em>}</li>
 * </ul>
 * </p>
 *
 * @see editor.EditorPackage#getRootRelationship()
 * @model annotation="gmf.link source='sourceRoot' target='targetRoot' target.decoration='arrow' style='dash'"
 * @generated
 */
public interface RootRelationship extends EObject {
	/**
   * Returns the value of the '<em><b>Source Root</b></em>' reference.
   * It is bidirectional and its opposite is '{@link editor.Root#getOutgoingRoot <em>Outgoing Root</em>}'.
   * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Source Root</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
   * @return the value of the '<em>Source Root</em>' reference.
   * @see #setSourceRoot(Root)
   * @see editor.EditorPackage#getRootRelationship_SourceRoot()
   * @see editor.Root#getOutgoingRoot
   * @model opposite="outgoingRoot" required="true"
   * @generated
   */
	Root getSourceRoot();

	/**
   * Sets the value of the '{@link editor.RootRelationship#getSourceRoot <em>Source Root</em>}' reference.
   * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
   * @param value the new value of the '<em>Source Root</em>' reference.
   * @see #getSourceRoot()
   * @generated
   */
	void setSourceRoot(Root value);

	/**
   * Returns the value of the '<em><b>Target Root</b></em>' reference.
   * It is bidirectional and its opposite is '{@link editor.Element#getIncomingComplexElement <em>Incoming Complex Element</em>}'.
   * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Target Root</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
   * @return the value of the '<em>Target Root</em>' reference.
   * @see #setTargetRoot(Element)
   * @see editor.EditorPackage#getRootRelationship_TargetRoot()
   * @see editor.Element#getIncomingComplexElement
   * @model opposite="incomingComplexElement" required="true"
   * @generated
   */
	Element getTargetRoot();

	/**
   * Sets the value of the '{@link editor.RootRelationship#getTargetRoot <em>Target Root</em>}' reference.
   * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
   * @param value the new value of the '<em>Target Root</em>' reference.
   * @see #getTargetRoot()
   * @generated
   */
	void setTargetRoot(Element value);

} // RootRelationship
